package com.aaa.javaweb.dao;

import com.aaa.javaweb.entity.TuiFang;
import com.aaa.javaweb.entity.XuFang;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface FDDao {
    List<Map> allroom();

    List<Map> tuifang(Integer rzxq);

    Double typeroomprice(Integer rzxq);

    int setstuid(Integer orderid);

    int setstuids(Integer orderid);

    int fangjianstu(Integer roomcode);

    int dasao(Integer roomcode);

    int addtuizhu(TuiFang tuiFang);

    //int updruzhustatus(Integer ruzhuid);

    List<Map> selectsy(Integer ruzhuid);

    List<Map> selectzs(int typeid);

    List<Map> selectqdhf(Integer rzid);

    int updroom(Integer roomid,Integer rmcode);

    int updxq(Integer rzid, Integer rmcode);

    int updroom1(int roomid, Integer rmcode);

    int huangfangjilu(int roomid, Integer rmcode, Integer rzid);

    Date getEndtime(Integer ruzhuid);

    List<Map> selxufangjilu(Integer ruzhuid);

    List<Map> selroomtype(Integer ruzhuid);

    int insertxufang(Integer ruzhuid,String begin,String endtime,Double xufangjiage);
}
